package com.dq.Week1.day01;

import java.util.Scanner;

public class Demo06 {
    public static void main(String[] args) {
//        Scanner sc = new Scanner(System.in);
//        System.out.println("请输入一个数字");
//        int num = sc.nextInt();
//        System.out.println("你输入的数字为："+num);

         Scanner scanner = new Scanner(System.in);

        System.out.println("请输入用户名：");
        String  username = scanner.next();
        System.out.println("请输入密码：");
        String  password = scanner.next();

        if(username.equals("yjs"))
        {

        }
        if(password.equals("123456"))
        {

        }
    }
}
